package com.javathread.th2.forkjoin.sum;

public class SumNormal {
	
	public static void main(String[] args) {
		long count = 0;
		long[] src = MakArray.makeArray();
		long start = System.currentTimeMillis();
		for (int i = 0; i < src.length; i++) {
			count = count + src[i];
		}
		System.out.println("总和 ="+count + " 花费时间:" + (System.currentTimeMillis() - start ) +" 毫秒");

	}
}
